1e575a3f07ee55b2c7e54e41d389d7bf5aca96a6,src/main/java/net/semanticmetadata/lire/imageanalysis/features/global/FuzzyOpponentHistogram.java,FuzzyOpponentHistogram,getDistance,#LireFeature#,217

Before Change


    public float getDistance(LireFeature feature) {
        if (!(feature instanceof FuzzyOpponentHistogram))
            throw new UnsupportedOperationException("Wrong descriptor.");
        return (float) MetricsUtils.jsd(((FuzzyOpponentHistogram) feature).descriptor, descriptor);
    }

    public String getStringRepresentation() {

After Change


    public double getDistance(LireFeature feature) {
        if (!(feature instanceof FuzzyOpponentHistogram))
            throw new UnsupportedOperationException("Wrong descriptor.");
        return MetricsUtils.jsd(((FuzzyOpponentHistogram) feature).descriptor, descriptor);
    }

//    public String getStringRepresentation() {